home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / CAD / LASI35B2.ARJ / LASI2CSF.HLP < prev    next >
Text File  |  1991-08-01  |  9KB  |  194 lines

  1.  
  2. Introduction
  3.  
  4.                         LASI to CALMA Conversion
  5.  
  6.  
  7.   LASI drawings are not ver useful if they cannot be transformed into the
  8.   more commonly used CAD system formats. The most common is CALMA Stream
  9.   Format. Although CALMA drawing systems for IC's have become somewhat
  10.   obsolete, the data format survives, and newer CAD systems such as CADENCE
  11.   or MENTOR can usually convert it. LASI can be converted to CALMA Stream
  12.   Format (CSF) exactly, and from CSF with some limitations.
  13.  
  14.   LASI has a drawing structure that is very similar to the CALMA drawing
  15.   system, with the exception that LASI has box objects and is more limited
  16.   in its data capacity and cell nesting depth. In LASI, cells are similar
  17.   to CALMA structures, except that a definite rank is attached to a cell.
  18.   Also in LASI there are no boundaries, instead there are zero width paths
  19.   called poly. LASI drawings transform easily into CALMA because a box can
  20.   be made into a boundary, a poly can become a boundary also, a path can
  21.   transform directly into a path, and cells can become structures, partly
  22.   due to their ranked nesting.
  23.  
  24.   Since LASI drawings are more or less a subset of CALMA, conversion to
  25.   CALMA is easy. More difficult is conversion from CALMA to LASI because
  26.   there are things in CALMA (like arrays, and text) that don't exist in
  27.   LASI (yet). Conversion is possible in most cases if certain restrictions
  28.   are used in the original CALMA drawing (like limiting the structure
  29.   nesting or using only small arrays).
  30.  
  31.  
  32. The Conversion Programs
  33.  
  34.   The LASI2CSF.EXE program converts a LASI drawing into a binary file which
  35.   is in CALMA Stream Format (CSF). This format is used as the standard for
  36.   preserving and interchanging CALMA drawings. The file generated by
  37.   LASI2CSF.EXE may be sent directly to a CALMA or may be put onto magtape
  38.   if sent to some larger computer that has magtape capability.
  39.  
  40.   The CSF2TLC.EXE program will read back a CSF file and will construct a
  41.   LASI drawing in TLC form as best as possible. A drawing first done on
  42.   LASI will reconstruct exactly if returned from a CALMA without having
  43.   been modified in some non-compatible way. Drawings made originally on
  44.   CALMA may occasionally convert differently, since LASI presently doesn't
  45.   have such things as datatypes, 64 layers, text or arrays. Rectangular
  46.   CALMA boundaries will be converted to LASI boxes.
  47.  
  48.   Note that CALMA Stream Files used by LASI2CSF.EXE and CSF2TLC.EXE have
  49.   the extension ".CSF". This is a convention that not always standard. You
  50.   may have to rename you file extensions.
  51.  
  52.  
  53. Running LASI2CSF.EXE
  54.  
  55.   1. LASI2CSF.EXE must be present in the \LASI directory a "PATH" opened to
  56.   it by execution of the DOS PATH command. (Just as you should do with
  57.   LASI.EXE.) You then run the program while in a drawing directory, usually
  58.   the directory in which you are working.
  59.  
  60.   2. LASI2CSF will ask for the CALMA drawing name. This is the name that
  61.   the drawing would have on the CALMA.
  62.  
  63.   3. The program will first ask for the "disk\path" prefix of the directory
  64.   where your LASI cell collection resides. This is the source directory.
  65.   Hit <enter> only for the current directory.
  66.  
  67.   4. LASI2CSF reads the CELLS.DBD file, the CONSTS.DBD file and the
  68.   FORM.DBD file in the source directory. CONSTS.DBD sets the scales that
  69.   appear in the starting dialog as default values. FORM.DBD will allocate
  70.   memory for the data that the program processes so that memory usage will
  71.   correspond to LASI's usage.
  72.  
  73.   5. LASI2CSF asks for the "Disk\Path\Name" of the CSF file. The extension
  74.   ".CSF" will be added, so don't include it in the name of the CSF file. If
  75.   a name is unacceptable, it will be asked until an acceptable one is
  76.   given.
  77.  
  78.   6. LASI2CSF will then ask for scale information. When converting to CALMA
  79.   you must know what physical units you used and how many LASI units per
  80.   physical unit you used in the LASI drawing. You must tell LASI2CSF how
  81.   many CALMA units you want per physical unit. You may default to 1000
  82.   basic units/micron and produce an exact 56-bit floating point
  83.   representation in the CSF file. This seems to be necessary for CADENCE
  84.   conversion.
  85.  
  86.   7. You will be asked if you want to relocate any LASI layer to CALMA
  87.   layer 0. Sometimes layer 0 is used in CALMA drawings. When converting
  88.   between drawing systems you can use a different LASI layer for what is
  89.   expected to be on CALMA layer 0.
  90.  
  91.   8. You will be asked for what datatype you want in the CALMA drawing.
  92.   This is an attribute that LASI doesn't have. Usually "0" is sufficient.
  93.  
  94.   9. When converting to CALMA, you will be given the choice of converting
  95.   only certain cells to CALMA structures. This is useful when you have most
  96.   of your structures already in the CALMA. If you chose to select certain
  97.   cells to be converted, you will be given a choice of also converting the
  98.   lesser cells that are used in the specific cells.
  99.  
  100.  
  101. Running CSF2TLC.EXE
  102.  
  103.   1. When converting from CALMA to LASI path and filename questions similar
  104.   to those when running LASI2CSF.EXE will be asked.
  105.  
  106.   2. When converting from CALMA the physical units will automatically be
  107.   microns, but you may specify the LASI basic units.
  108.  
  109.   3. You will be asked if you want to use the "2048"VAX filter. If the
  110.   binary file has been run through a VAX on magetape, it might contain two
  111.   extra characters at the CSF record boundaries. You can tell CSF2TLC to
  112.   drop two characters every 2048 characters. If errors occur try this
  113.   option.
  114.  
  115.   4. You will then be asked for the layers and the datatypes to be
  116.   converted. You respond to this question with the notation similar to the
  117.   VIEW, OPEN, etc. commands in LASI, with numbers separated by spaces or
  118.   dashes.  A space separates individual layers and a dash means "include
  119.   all layers between".
  120.  
  121.   5. You will also be asked to equate CALMA layers to LASI layers. CALMA
  122.   layers 0 and 33-63 may be relocated to any LASI layers 1-32. Layers that
  123.   don't exist in LASI may therefore be translated from CALMA to LASI. Any
  124.   layers not specified that are out of 1-32 will default to layer 32.
  125.  
  126.       Example: "0=1" relocates CALMA layer 0 to LASI layer 1.
  127.  
  128.  
  129.   6. Like LASI2CSF, CSF2TLC request options on just which cells or
  130.   structures you want to be converted. You may name specific cells or
  131.   structures to be converted if a few are wanted. If the named structures
  132.   contain other structures that have not been named, CSF2TLC will find
  133.   these and try to convert them also. You may therefore name only your top
  134.   structure and CSF2TLC will find the rest.
  135.  
  136.   7. You will be asked if you want CSF2TLC to replace any TLC files that it
  137.   finds already in the directory. Otherwise, CSF2TLC will keep any old TLC
  138.   files that it finds and will only create the new ones that it needs.
  139.  
  140.   In most questions, the default entry will appear in the parentheses if
  141.   one is available. Hitting <enter> defaults.
  142.  
  143.  
  144. CSF2TLC Operations
  145.  
  146.   CSF2TLC first scans the CSF file to determine a hierarchy of cells. It
  147.   also tries to convert CALMA structure names to names that are DOS
  148.   acceptable.
  149.  
  150.   CSF2TLC will search the current directory for the TLC cell file of a cell
  151.   that might not exist as a structure in the CSF file, but still be used in
  152.   other structures in the CSF file. This allows the TLC file of a cell to
  153.   be reconstructed without the lesser cells being present as structures in
  154.   the CSF file. The only requirement is that the TLC files of its lesser
  155.   cells exist already in the drawing directory.
  156.  
  157.   After the scanning has been done to establish hierarchy and the presence
  158.   of TLC files, a list of the cell names, their rank, the presence of the
  159.   structure in the CSF file, the presence of a TLC file in the directory
  160.   and the structure name is printed.
  161.  
  162.   If the TLC file is already present it is always retained eventhough the
  163.   structure may exist in the CSF file. To have a new TLC file generated,
  164.   the old TLC file must be deleted from the current directory, or the
  165.   option of replacing all TLC files must be used when running CSF2TLC.
  166.  
  167.   If the lesser cell exist neither as a structure in the CSF file nor as a
  168.   TLC file in the drawing directory, then the name of the expected cell is
  169.   inserted into the TLC file being made and a warning message is given.
  170.  
  171.  
  172. Possible Problems
  173.  
  174.   On conversion from CALMA to LASI, if any structures are missing and a TLC
  175.   file is not present, there is no way to tell if the missing structures or
  176.   TLC files contain other missing structures or cells.
  177.  
  178.   Presently, arrays of objects do not exist in LASI. Therefore, when
  179.   converting from CALMA, CSF2TLC makes arrays by copying cells. This can
  180.   fill the LASI cell capacity if you don't watch out.
  181.  
  182.   Since LASI2CSF makes boxes in LASI into rectangular boundaries when
  183.   translating to CALMA, and CSF2TLC does the opposite when translating the
  184.   other way, don't expect to be able to edit figures in the same way. For
  185.   example, rectangular boundaries from CALMA cannot have new vertices
  186.   added.
  187.  
  188.   Some features of CALMA are presently simply ignored, such as text,
  189.   streched components, and nodes.
  190.  
  191.   If you abort while CSF2TLC is making a TLC file you will probably get an
  192.   incomplete file. Erase it.
  193.  
  194.